/**
 * 
 */
package com.feib.stms.service;

import java.util.Date;
import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.feib.stms.dao.BasePaymentFileContentDao;
import com.feib.stms.model.BasePaymentFileContent;
import com.feib.stms.pagination.PaginatedList;


/**
 * @author Jimmy Liu
 *
 */
@Transactional(readOnly = true)
public interface BasePaymentFileContentService <K extends BasePaymentFileContentDao<T>, T extends BasePaymentFileContent> 
{
	public PaginatedList<T> findPaginatedListByPaymentFileContent(T entity, Date deliveryDateFrom, Date deliveryDateTo, List<String> fileFormats, List<String> constrainSecuritiesNos, PaginatedList<T> paginatedList);
	
	public String exportExcelByPaymentFileContent(T entity, Date deliveryDateFrom, Date deliveryDateTo, List<String> fileFormats, List<String> constrainSecuritiesNos, PaginatedList<T> paginatedList) throws Exception;
}
